/** @format */

//let http = 'http://10.0.72.199:15080'
//let http = 'http://10.0.72.107:15080'
 
 let http = 'https://huaxue.cailianxinwen.com/prod-api'

// 小程序账号密码登录
let wxLogin = http + '/system/wechat/loginForWechat'

// 权限授权登录
let loginUser = http + '/system/wechat/login'

// 新增用户
let addUser = http + '/system/wechat/addUserInfo'

// 新闻列表
let slope = http + '/system/api/news/list'

// 新闻详情
let newDetail = http + '/system/api/news/info'

// 活动列表
let activity = http + '/system/api/activity/list'

// 活动详情
let activityDetail = http + '/system/api/activity/info'

// 活动字典
let activityDict = http + '/system/api/slope/dict'

// 热榜表头
let hotName = http + '/system/api/hotList/list'

// 热榜内容
let hotList = http + '/system/api/hotList/itemList'

// 一单成-生成
let orderSuccess = http + '/system/api/oneOrder/generateItinerary'

// 一单成-保存行程
let saveOrderSuccess = http + '/system/api/oneOrder/saveItinerary'

// 一单成-获取商家信息
let getBusinessInfo = http + '/system/api/oneOrder/getBussinessInfo/'

// 一门清轮播图
let getGuideSwiper = http + '/system/api/guide/swiper'

// 一门清主页新手指南列表
let getGuideList = http + '/system/api/guide/list'

// 一门清主页新手指南详情页 + id
let getGuideDetail = http + '/system/api/guide/'

// 一门清主页商家详情页 + id
let getStoreDetail = http + '/system/api/bussiness'

// 修改头像
let avaterInfo = http + '/system/wechat/avatar'

// go字典接口 + city
let getCity = http + '/system/dict/data/type/'

// go筛选条件-雪场 参数+city联动  也是滑雪场列表
let getSkiList = http + '/system/api/slope/list'

// go分类商家列表
let businessList = http + '/system/api/bussiness/list'

// go雪场详情
let getSlopeIntro = http + '/system/api/slope/'

// go雪场的雪场周边动态tab
let getStatisticsVoList =
  http + '/system/api/bussiness/select/statisticsVoList/'

// go雪场详情的雪道列表
let trailList = http + '/system/api/trail/list'

// go雪场雪道详情
let getTrailDetail = http + '/system/api/trail/'

// 一图懂滑雪场列表
let selectListForApp = http + '/system/api/slope/selectListForApp'

// 直播列表
let liveList = http + '/system/api/live/list'

// 直播详情
let liveDetail = http + '/system/api/live/info'

// 优惠列表
let counselList = http + '/system/api/counsel/list'

// 优惠详情
let counselDetail = http + '/system/api/counsel/info'

// 图片上传
let fileUpload = http + '/file/upload'

// 意见反馈
let opinion = http + '/system/api/opinion'

// 隐私协议
let searchList = http + '/system/api/agreement/search'

// 热榜图片
let hotImgList = http + '/system/api/hotList/bgimg'

// 行程列表
let orderList = http + '/system/api/oneOrder/list'

// 行程删除
let orderDelete = http + '/system/api/oneOrder/'

// 行程详情
let orderDetail = http + '/system/api/oneOrder/item/'

// 获取雪圈列表类型
let getCircleType = http + '/system/api/circle/getCircleType'

// 雪圈列表
let circleList = http + '/system/api/circle/circleList'

// 雪圈详情
let circleDetail = http + '/system/api/circle/circleDetail'

// 雪圈列表点击量
let addCircleShare = http + '/system/api/circle/addCircleShare'

// 新建雪圈
let addCircle = http + '/system/api/circle/addCircle'

// 修改雪圈
let editCircle = http + '/system/api/circle/editCircle'

// 删除雪圈
let deleteCircle = http + '/system/api/circle/deleteCircle'

// 收藏馆
let isPublishCircle = http + '/system/api/circle/isPublishCircle'

// 首页雪圈信息
let getHomeCircle = http + '/system/api/circle/getHomeCircle'

// 我的数量
let getBadgesNum = http + '/system/api/circle/getBadgesNum'

// 首页轮播图
let getSeeding = http + '/system/api/news/getSeeding'


// 修改昵称
let updateUserName = http + '/system/wechat/updateUserName'

const install = {
  http,
  wxLogin,
  loginUser,
  addUser,
  slope,
  newDetail,
  activity,
  activityDetail,
  activityDict,
  hotName,
  hotList,
  orderSuccess,
  saveOrderSuccess,
  getBusinessInfo,
  getGuideSwiper,
  getGuideList,
  getGuideDetail,
  getStoreDetail,
  avaterInfo,
  getCity,
  getSkiList,
  businessList,
  liveList,
  liveDetail,
  counselList,
  counselDetail,
  fileUpload,
  opinion,
  searchList,
  hotImgList,
  selectListForApp,
  getSlopeIntro,
  getStatisticsVoList,
  trailList,
  getTrailDetail,
  orderList,
  orderDelete,
  orderDetail,
  getCircleType,
  circleList,
  circleDetail,
  addCircleShare,
  addCircle,
  editCircle,
  isPublishCircle,
  getHomeCircle,
  deleteCircle,
  getSeeding,
  getBadgesNum,
  updateUserName,
}

export default {
  install,
}
